package cn.pzaily.fealetter.mapper;

import cn.pzaily.fealetter.entity.ConfigEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @PackageName: cn.pzaily.fealetter.mapper
 * @Description:
 * @Author: Pang
 * @Date: 2021-11-19 17:29
 */
@Repository
public interface ConfigMapper extends BaseMapper<ConfigEntity> {

    /**
     * 根据模板和签名查询通道
     * @param templateId
     * @param signatureId
     * @return
     */
    List<ConfigEntity> selectByTemplateAndSignature(@Param("templateId") String templateId, @Param("signatureId") String signatureId);

}
